package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：用户登录表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Customerlogin implements Serializable {

   /**用户ID*/
    private Integer customerId;
   /**用户登录名*/
    private String loginName;
   /**加密的密码*/
    private String password;
   /**用户状态*/
    private Integer userStats;
   /**最后修改时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifiedTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    public Customerlogin(){}
    
    public Customerlogin(Integer customerId,String loginName,String password,Integer userStats,Date modifiedTime,String other1,String other2){
        this.customerId = customerId;
        this.loginName = loginName;
        this.password = password;
        this.userStats = userStats;
        this.modifiedTime = modifiedTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取用户ID属性的值*/
    public Integer getCustomerId() {
        return this.customerId;
    }
   /**设置用户ID属性的值*/
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
   /**获取用户登录名属性的值*/
    public String getLoginName() {
        return this.loginName;
    }
   /**设置用户登录名属性的值*/
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
   /**获取加密的密码属性的值*/
    public String getPassword() {
        return this.password;
    }
   /**设置加密的密码属性的值*/
    public void setPassword(String password) {
        this.password = password;
    }
   /**获取用户状态属性的值*/
    public Integer getUserStats() {
        return this.userStats;
    }
   /**设置用户状态属性的值*/
    public void setUserStats(Integer userStats) {
        this.userStats = userStats;
    }
   /**获取最后修改时间属性的值*/
    public Date getModifiedTime() {
        return this.modifiedTime;
    }
   /**设置最后修改时间属性的值*/
    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
